/**
 * 赋值与浅拷贝的区别
 */

 var obj1 = {
  name: 'chanqi',
  content: ['i', 'u']
}

// 赋值
var obj2 = obj1

obj2.name = 'chann'
obj2.content[1] = 'you'
console.log(obj1, obj2)


